﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ruction
{
    public static class Constants
    {
        public const int DEFAULT_GAME_PORT = 3226;

        public const string DEFAULT_GAME_HOST = "127.0.0.1";

        public const double MAXIMUM_TROOP_PERCENT = 0.33;

        ///<summary></summary>
        public const int XDIM640x480 = 66;

        ///<summary> Add 3 for 1.5 compatibility.</summary>
        public const int YDIM640x480 = 45;

        ///<summary></summary>
        public const int XDIM800x600 = 86;

        ///<summary> Add 3 for 1.5 compatibility.</summary>
        public const int YDIM800x600 = 60;

        ///<summary></summary>
        public const short XDIM1024x768 = 114;

        ///<summary></summary>
        public const short YDIM1024x768 = 80;

        ///<summary>Number of times to loop through menu routines.</summary>
        public const int MAX_MENU_ITEMS = 7;

        ///<summary></summary>
        public const int MAX_COUNTRY_CAPACITY = 999;

        ///<summary></summary>
        public const int TILEVAL_COASTLINE = 999;

        ///<summary>Max number of blocks on the map per country.</summary>
        public const int MIN_COUNTRY_SIZE = 30;

        ///<summary></summary>
        public const int MAX_COUNTRY_SIZE = 150;

        ///<summary></summary>
        public const double MAX_PROP_PCT = 0.7;

        ///<summary></summary>
        public const int MAX_COUNTRY_TRIES = 600;

        ///<summary></summary>
        public const int MAX_TRIES_TO_PLACE_COUNTRY = 100;

        ///<summary></summary>
        public const int UNUSABLE_GRID = -37;

        ///<summary></summary>
        public const int MAXIMUM_NEIGHBORS = 20;

        ///<summary></summary>
        public const int UP = 1;

        ///<summary></summary>
        public const int DOWN = 2;

        ///<summary></summary>
        public const int LEFTY = 3;

        ///<summary></summary>
        public const int RIGHTY = 4;

        ///<summary></summary>
        public const int GFX_NUM_LAND_PIECES = 19;

        public static short MinLakeSize;

        public static short MaxCountrySize;

        public static int CFGCountrySize;

        public static int CFGLandPct;

        public static int CFGIslands;

        public static int CFGLakeSize;

        public static int CFGProportion;

        public static int CFGShape;

        public static int CFGBorders;

        public static int CFGInitTroopPl;

        public static int CFGInitTroopCt;

        public static int CFGBonusTroops;

        public static int CFGShips;

        public static int CFGPorts;

        public static int CFGConquer;

        public static int CFGAISpeed;

        public static int CFGEvents;

        public static short CFGNumCountries;

        public static int CFG1st;

        public static int CFGHQSelect;

        public static int CFGSound;

        public static int CFGExplosions;

        public static int CFGWaves;

        public static int CFGUnoccupiedColor;

        public static int CFGFlashing;

        public static int CFGResolution;

        public static int CFGPrompt;

        public static int MaxAllowedResolution;

        public static int u;

        public static double LandPct;

        public static double PropPct;

        public static double ShapePct;

        public static double CoastPctKeep;

        public static double IslePctKeep;

        public static float ShipPct;

        public static int NumPlayers;

        public static bool Done;
    }
}
